﻿/**
 * Copyright(c) Live2D Inc. All rights reserved.
 *
 * Use of this source code is governed by the Live2D Open Software license
 * that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html.
 */

#include "../include/Live2dDefine.hpp"
#include <CubismFramework.hpp>

namespace Live2dDefine {

    using namespace Csm;

    // 画面
    const csmFloat32 ViewMaxScale = 2.0f;
    const csmFloat32 ViewMinScale = 0.8f;

    const csmFloat32 ViewLogicalLeft = -1.0f;
    const csmFloat32 ViewLogicalRight = 1.0f;

    const csmFloat32 ViewLogicalMaxLeft = -2.0f;
    const csmFloat32 ViewLogicalMaxRight = 2.0f;
    const csmFloat32 ViewLogicalMaxBottom = -2.0f;
    const csmFloat32 ViewLogicalMaxTop = 2.0f;

    const csmChar* ParaMouseX = "ParamMouseX";
    const csmChar* ParaMouseY = "ParamMouseY";
    const csmChar* ParaLeftButton = "ParamMouseLeftDown";
    const csmChar* ParaRightButton = "ParamMouseRightDown";
    const csmChar* ParaLeftHandDown = "CatParamLeftHandDown";
    const csmChar* ParaRightHandDown = "CatParamRightHandDown";

    const csmChar* ParaStickLeftDown = "CatParamStickLeftDown";
    const csmChar* ParaStickRightDown = "CatParamStickRightDown";
    const csmChar* ParaStickShowLeftHand = "CatParamStickShowLeftHand";
    const csmChar* ParaStickShowRightHand = "CatParamStickShowRightHand";
    const csmChar* ParaStickLX = "CatParamStickLX";
    const csmChar* ParaStickLY = "CatParamStickLY";
    const csmChar* ParaStickRX = "CatParamStickRX";
    const csmChar* ParaStickRY = "CatParamStickRY";

    // モーションの優先度定数
    const csmInt32 PriorityNone = 0;
    const csmInt32 PriorityIdle = 1;
    const csmInt32 PriorityNormal = 2;
    const csmInt32 PriorityForce = 3;

    // デバッグ用ログの表示オプション
    const csmBool DebugLogEnable = false;
    const csmBool DebugTouchLogEnable = false;

    // Frameworkから出力するログのレベル設定
    const CubismFramework::Option::LogLevel CubismLoggingLevel = CubismFramework::Option::LogLevel_Verbose;

    // デフォルトのレンダーターゲットサイズ
    const csmInt32 RenderTargetWidth = 1280;
    const csmInt32 RenderTargetHeight = 960;
}
